package com.asj.dto;



/**
 * 接收中台发送指令的内部参数类
 * */
public class OperationalOrderDto {

    //设备id
    private String deviceId;

    //设备标识
    private String deviceCode;

    //操作编码;例如（BluetoothDisabled）为操作禁用/启用蓝牙
    private String optionCode;

    //操作参数，例如BluetoothDisabled的操作参数为true/false;如果参数属于单一较长的，使用字符串拼接传递
    private String optionParamUseCharacters;

    //操作参数，例如BluetoothDisabled的操作参数为true/false;如果参数属于多种参数的就用JSON字符串传递
    private String optionParamUseJsonString;

    public OperationalOrderDto() {
    }

    public OperationalOrderDto(String deviceId, String deviceCode, String optionCode, String optionParamUseCharacters, String optionParamUseJsonString) {
        this.deviceId = deviceId;
        this.deviceCode = deviceCode;
        this.optionCode = optionCode;
        this.optionParamUseCharacters = optionParamUseCharacters;
        this.optionParamUseJsonString = optionParamUseJsonString;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public void setDeviceCode(String deviceCode) {
        this.deviceCode = deviceCode;
    }

    public void setOptionCode(String optionCode) {
        this.optionCode = optionCode;
    }

    public void setOptionParamUseCharacters(String optionParamUseCharacters) {
        this.optionParamUseCharacters = optionParamUseCharacters;
    }

    public void setOptionParamUseJsonString(String optionParamUseJsonString) {
        this.optionParamUseJsonString = optionParamUseJsonString;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public String getDeviceCode() {
        return deviceCode;
    }

    public String getOptionCode() {
        return optionCode;
    }

    public String getOptionParamUseCharacters() {
        return optionParamUseCharacters;
    }

    public String getOptionParamUseJsonString() {
        return optionParamUseJsonString;
    }
}
